package com.multitrack.main.data;

public enum InnerMessage {
	ON, OFF, IS_CONNECT_SERVER, IN_EVENT,

	UPDATE_EVENT, NEW_EVENT, JOIN_EVENT, ;

	static public InnerMessage getEnum(int ordinal) {
		InnerMessage[] list = InnerMessage.values();
		for (int i = 0; i < list.length; i++) {
			if (list[i].ordinal() == ordinal)
				return list[i];
		}
		return null;
	}
}
